package com.le.tester.book.concurrentchallenge.synchronizedUtil14;

import java.util.Date;
import java.util.concurrent.TimeUnit;

/**
 * createTime：2025-05-22 13:39
 * description：condition,锁的条件接口
 */
public interface LCondition {
    void await() throws InterruptedException;

    boolean await(long time, TimeUnit timeUnit) throws InterruptedException;

    long awaitNanos(long nanosTime) throws InterruptedException;

    void awaitUninterruptibly();

    boolean awaitUntil(Date deadline) throws InterruptedException;

    void signal();

    void signalAll();
}
